#ifndef _EMPLOYEE_H_
#define _EMPLOYEE_H_

#include "rational.h"

using namespace rational;

namespace DataStructuresWet1
{


class Employee
{
public:
	Employee(int id, int employerID, Rational baseSalary);
	Employee(const Employee& e);
	~Employee();
	int GetID() const;
	const Rational GetBaseSalary() const;
	int GetEmployerID() const;
	void SetID(int id);
	void SetBaseSalary(Rational baseSalary);
	void SetEmployerID(int employerID);
	static bool IsLegalEmployeeID(int id);
	static bool IsLegalEmployeeSalary(Rational salary);
	bool operator==(const Employee& other) const;
	bool operator!=(const Employee& other) const;
	bool operator<=(const Employee& other) const;
	bool operator>=(const Employee& other) const;
	bool operator<(const Employee& other) const;
	bool operator>(const Employee& other) const;
protected:
	int id;
	int EmployerID;
	Rational BaseSalary;
};
}
#endif //_EMPLOYEE_H_